from rest_framework import serializers

from zuoye1.models import *


class MsgSerializer(serializers.ModelSerializer):
    class Meta:
        model = MsgModel
        fields = "__all__"


class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"


class UserAddressSerializer(serializers.ModelSerializer):
    class Meta:
        model = UserAddress
        fields = "__all__"

